Unverified Commit 0ddd70df authored by Rafael Kellermann Streit's avatar Rafael Kellermann Streit Committed by GitHub

Merge pull request #1743 from RocketChat/fix-fetch-mentions-from-db

[FIX] Mentions were being fetch from favorites instead of the mentions table
parents 19b0d6ae 87af97e6
......@@ -159,7 +159,7 @@ abstract class MessageDao {
internal fun retrieveFullMessage(message: PartialMessage): FullMessage {
val favorites = getFavoritesByMessage(message.message.id)
val mentions = getFavoritesByMessage(message.message.id)
val mentions = getMentionsByMessage(message.message.id)
return FullMessage(message, favorites, mentions)
}
......
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