mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
Show room name instead of root message author in thread timeline toolbar
This commit is contained in:
parent
4b746ee345
commit
88babbb17c
1 changed files with 6 additions and 6 deletions
|
@ -145,9 +145,9 @@ class ThreadListFragment @Inject constructor(
|
|||
|
||||
override fun onThreadSummaryClicked(threadSummary: ThreadSummary) {
|
||||
val roomThreadDetailArgs = ThreadTimelineArgs(
|
||||
roomId = threadSummary.roomId,
|
||||
displayName = threadSummary.rootThreadSenderInfo.displayName,
|
||||
avatarUrl = threadSummary.rootThreadSenderInfo.avatarUrl,
|
||||
roomId = threadListArgs.roomId,
|
||||
displayName = threadListArgs.displayName,
|
||||
avatarUrl = threadListArgs.avatarUrl,
|
||||
roomEncryptionTrustLevel = null,
|
||||
rootThreadEventId = threadSummary.rootEventId)
|
||||
(activity as? ThreadsActivity)?.navigateToThreadTimeline(roomThreadDetailArgs)
|
||||
|
@ -155,9 +155,9 @@ class ThreadListFragment @Inject constructor(
|
|||
|
||||
override fun onThreadListClicked(timelineEvent: TimelineEvent) {
|
||||
val threadTimelineArgs = ThreadTimelineArgs(
|
||||
roomId = timelineEvent.roomId,
|
||||
displayName = timelineEvent.senderInfo.displayName,
|
||||
avatarUrl = timelineEvent.senderInfo.avatarUrl,
|
||||
roomId = threadListArgs.roomId,
|
||||
displayName = threadListArgs.displayName,
|
||||
avatarUrl = threadListArgs.avatarUrl,
|
||||
roomEncryptionTrustLevel = null,
|
||||
rootThreadEventId = timelineEvent.eventId)
|
||||
(activity as? ThreadsActivity)?.navigateToThreadTimeline(threadTimelineArgs)
|
||||
|
|
Loading…
Reference in a new issue