Commit 506a0bcd authored by Leonardo Aramaki's avatar Leonardo Aramaki

Change call to client on reactions from react to toggleReaction

parent 38f22b12
......@@ -348,7 +348,7 @@ class ChatRoomPresenter @Inject constructor(private val view: ChatRoomView,
fun react(messageId: String, emoji: String) {
launchUI(strategy) {
try {
client.react(messageId, emoji.removeSurrounding(":"))
client.toggleReaction(messageId, emoji.removeSurrounding(":"))
} catch (ex: RocketChatException) {
Timber.e(ex)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment