mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix reply keyboard on own posts
This commit is contained in:
parent
f3067392d9
commit
5fe4210c97
@ -983,7 +983,9 @@ public final class StoryItemSetContainerComponent: Component {
|
||||
}
|
||||
} else {
|
||||
var canReply = true
|
||||
if component.slice.peer.isService {
|
||||
if component.slice.peer.id == component.context.account.peerId {
|
||||
canReply = false
|
||||
} else if component.slice.peer.isService {
|
||||
canReply = false
|
||||
} else if case .unsupported = component.slice.item.storyItem.media {
|
||||
canReply = false
|
||||
@ -1005,7 +1007,9 @@ public final class StoryItemSetContainerComponent: Component {
|
||||
}
|
||||
|
||||
var canReply = true
|
||||
if component.slice.peer.isService {
|
||||
if component.slice.peer.id == component.context.account.peerId {
|
||||
canReply = false
|
||||
} else if component.slice.peer.isService {
|
||||
canReply = false
|
||||
} else if case .unsupported = component.slice.item.storyItem.media {
|
||||
canReply = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user