mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-24 00:30:47 +01:00
Fix lint error.
This commit is contained in:
parent
67a24b38cb
commit
9b7e329000
@ -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 New Issue
Block a user