When replying from notification, do not interfere with specialModeEventTimelineItem
This commit is contained in:
parent
7c559363a4
commit
3ddec73ac5
5 changed files with 36 additions and 11 deletions
|
|
@ -104,7 +104,8 @@ class FakeTimeline(
|
|||
body: String,
|
||||
htmlBody: String?,
|
||||
mentions: List<Mention>,
|
||||
) -> Result<Unit> = { _, _, _, _ ->
|
||||
fromNotification: Boolean,
|
||||
) -> Result<Unit> = { _, _, _, _, _ ->
|
||||
Result.success(Unit)
|
||||
}
|
||||
|
||||
|
|
@ -113,11 +114,13 @@ class FakeTimeline(
|
|||
body: String,
|
||||
htmlBody: String?,
|
||||
mentions: List<Mention>,
|
||||
fromNotification: Boolean,
|
||||
): Result<Unit> = replyMessageLambda(
|
||||
eventId,
|
||||
body,
|
||||
htmlBody,
|
||||
mentions
|
||||
mentions,
|
||||
fromNotification,
|
||||
)
|
||||
|
||||
var sendImageLambda: (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue