mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-17 04:20:00 +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())
|
noticeEventFormatter.format(timelineEvent, room?.roomSummary()?.isDirect.orFalse())
|
||||||
}
|
}
|
||||||
in EventType.POLL_START -> {
|
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
|
else -> null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue