diff options
Diffstat (limited to 'telegram/handlers.go')
-rw-r--r-- | telegram/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/handlers.go b/telegram/handlers.go index 0eedc66..43a2291 100644 --- a/telegram/handlers.go +++ b/telegram/handlers.go @@ -210,7 +210,7 @@ func (c *Client) updateNewMessage(update *client.UpdateNewMessage) { } } // OTR support (I do not know why would you need it, seriously) - if !strings.HasPrefix(text, "?OTR") { + if !(strings.HasPrefix(text, "?OTR") || c.Session.RawMessages) { var prefix strings.Builder prefix.WriteString(c.messageToPrefix(update.Message, c.formatContent(file, filename))) if text != "" { |