Update submodules

This commit is contained in:
Ilya Laktyushin 2018-12-28 21:25:29 +04:00
parent 2c3cb1a224
commit 44186c6465
4 changed files with 15 additions and 3 deletions

View File

@ -243,6 +243,12 @@ func makeBridgeMedia(message: Message, strings: PresentationStrings, chatPeer: P
bridgeAttachment.title = ""
bridgeMedia.append(bridgeAttachment)
}
} else if let poll = m as? TelegramMediaPoll {
let bridgeAttachment = TGBridgeUnsupportedMediaAttachment()
bridgeAttachment.compactTitle = strings.Watch_Message_Poll
bridgeAttachment.title = strings.Watch_Message_Poll
bridgeAttachment.subtitle = poll.text
bridgeMedia.append(bridgeAttachment)
} else if let contact = m as? TelegramMediaContact {
let bridgeContact = TGBridgeContactMediaAttachment()
if let peerId = contact.peerId {
@ -296,6 +302,12 @@ func makeBridgeMedia(message: Message, strings: PresentationStrings, chatPeer: P
bridgeAttachment.title = strings.Watch_Message_Invoice
bridgeAttachment.subtitle = invoice.title
bridgeMedia.append(bridgeAttachment)
} else if let _ = m as? TelegramMediaUnsupported {
let bridgeAttachment = TGBridgeUnsupportedMediaAttachment()
bridgeAttachment.compactTitle = strings.Watch_Message_Unsupported
bridgeAttachment.title = strings.Watch_Message_Unsupported
bridgeAttachment.subtitle = ""
bridgeMedia.append(bridgeAttachment)
}
}
return bridgeMedia

@ -1 +1 @@
Subproject commit ebd8cc351d107575e50cb2afb66de2531fc87a16
Subproject commit c4da6a5233c87592be97056c6ae7edf4a6726990

@ -1 +1 @@
Subproject commit 31b7d815a81e3927baead22c24b7930886c24d09
Subproject commit c7a411cc378a4031ee4b7ff7accd6476716602ad

@ -1 +1 @@
Subproject commit b1214087baaf4f9ed33b787a5158b4c9e864ad03
Subproject commit e8a63d4fc8058d8f34a297ed8da48ad41bb11a30