Fix @room mentions crashing in debug builds (#3107)
* Fix `@room` mentions crashing in debug builds * Iterate on previous solution, add `MentionSpan.Type.EVERYONE`
This commit is contained in:
parent
ed00ed4811
commit
d6b259b85a
5 changed files with 17 additions and 15 deletions
|
|
@ -94,8 +94,10 @@ private fun updateMentionSpans(text: CharSequence?, cache: RoomMemberProfilesCac
|
|||
mentionSpan.text = displayName
|
||||
}
|
||||
}
|
||||
// There's no need to do anything for `@room` pills
|
||||
MentionSpan.Type.EVERYONE -> Unit
|
||||
// Nothing yet for room mentions
|
||||
else -> Unit
|
||||
MentionSpan.Type.ROOM -> Unit
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue