dont use a pointer
This commit is contained in:
parent
eb087a00a4
commit
b3c6afe99b
|
@ -3253,7 +3253,7 @@ func (m *Messenger) SendEmojiReaction(ctx context.Context, chatID, messageID str
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = m.dispatchMessage(ctx, &common.RawMessage{
|
_, err = m.dispatchMessage(ctx, common.RawMessage{
|
||||||
LocalChatID: chatID,
|
LocalChatID: chatID,
|
||||||
Payload: encodedMessage,
|
Payload: encodedMessage,
|
||||||
MessageType: protobuf.ApplicationMetadataMessage_EMOJI_REACTION,
|
MessageType: protobuf.ApplicationMetadataMessage_EMOJI_REACTION,
|
||||||
|
@ -3316,7 +3316,7 @@ func (m *Messenger) SendEmojiReactionRetraction(ctx context.Context, emojiReacti
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send the marshalled EmojiReactionRetraction protobuf
|
// Send the marshalled EmojiReactionRetraction protobuf
|
||||||
_, err = m.dispatchMessage(ctx, &common.RawMessage{
|
_, err = m.dispatchMessage(ctx, common.RawMessage{
|
||||||
LocalChatID: emojiR.GetChatId(),
|
LocalChatID: emojiR.GetChatId(),
|
||||||
Payload: encodedMessage,
|
Payload: encodedMessage,
|
||||||
MessageType: protobuf.ApplicationMetadataMessage_EMOJI_REACTION,
|
MessageType: protobuf.ApplicationMetadataMessage_EMOJI_REACTION,
|
||||||
|
|
Loading…
Reference in New Issue