parent
813cddfb1f
commit
6adb809ba0
|
@ -72,7 +72,7 @@ proc initItem*(
|
|||
result.senderIcon = senderIcon
|
||||
result.seen = seen
|
||||
result.outgoingStatus = outgoingStatus
|
||||
result.messageText = text
|
||||
result.messageText = if ContentType.Image == contentType: "" else: text
|
||||
result.messageImage = image
|
||||
result.messageContainsMentions = messageContainsMentions
|
||||
result.timestamp = timestamp
|
||||
|
|
|
@ -87,7 +87,7 @@ proc sendImages*(chatId: string, images: var seq[string]): RpcResponse[JsonNode]
|
|||
"imagePath": image,
|
||||
# TODO is this still needed
|
||||
# "ensName": preferredUsername,
|
||||
"text": ""
|
||||
"text": "Please upgrade your status version to view images"
|
||||
}
|
||||
)
|
||||
callPrivateRPC("sendChatMessages".prefix, %* [imagesJson])
|
||||
|
|
Loading…
Reference in New Issue