mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Fix lint error.
This commit is contained in:
parent
67a24b38cb
commit
9b7e329000
2 changed files with 3 additions and 3 deletions
|
@ -1 +1 @@
|
|||
Support both stable and unstable prefixes
|
||||
Support both stable and unstable prefixes for Events about Polls and Location
|
|
@ -211,8 +211,8 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted
|
|||
noticeEventFormatter.format(timelineEvent, room?.roomSummary()?.isDirect.orFalse())
|
||||
}
|
||||
in EventType.POLL_START -> {
|
||||
timelineEvent.root.getClearContent().toModel<MessagePollContent>(catchError = true)?.getBestPollCreationInfo()?.question?.getBestQuestion()
|
||||
?: ""
|
||||
timelineEvent.root.getClearContent().toModel<MessagePollContent>(catchError = true)
|
||||
?.getBestPollCreationInfo()?.question?.getBestQuestion() ?: ""
|
||||
}
|
||||
else -> null
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue