diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-06-02 00:43:56 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-06-02 00:43:56 +0300 |
commit | 134604edce935a0017b50c16687429e0b25248e6 (patch) | |
tree | ee0288388c84c54e060b2e29fe390ae163c1c962 /ui/messages/message.go | |
parent | 7868bd90fab77faa1e37674d543eefc1ff315fff (diff) |
Add ui toggle for image rendering
Diffstat (limited to 'ui/messages/message.go')
-rw-r--r-- | ui/messages/message.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/messages/message.go b/ui/messages/message.go index 0de2835..3f1e694 100644 --- a/ui/messages/message.go +++ b/ui/messages/message.go @@ -19,13 +19,14 @@ package messages import ( "maunium.net/go/gomuks/interface" "maunium.net/go/gomuks/ui/messages/tstring" + "maunium.net/go/gomuks/config" ) // UIMessage is a wrapper for the content and metadata of a Matrix message intended to be displayed. type UIMessage interface { ifc.Message - CalculateBuffer(bare bool, width int) + CalculateBuffer(preferences config.UserPreferences, width int) RecalculateBuffer() Buffer() []tstring.TString Height() int |