/**
- * Sone - SoneMentionDetector.kt - Copyright © 2019 David ‘Bombe’ Roden
+ * Sone - SoneMentionDetector.kt - Copyright © 2019–2020 David ‘Bombe’ Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
if (postReply.text.hasLinksToLocalSones()) {
postReply.post
.also { mentionedPosts += it }
- .let(::MentionOfLocalSoneFoundEvent).also(eventBus::post)
+ .let(::MentionOfLocalSoneFoundEvent)
+ ?.also(eventBus::post)
}
}
}