mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
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:
committed by
GitHub
parent
ed00ed4811
commit
d6b259b85a
+3
-1
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user