Remove debug print
This commit is contained in:
parent
e8737cd480
commit
e25674ca5f
@ -733,7 +733,6 @@ func (view *RoomView) AddReaction(evt *event.Event, key string) {
|
|||||||
recalculate := len(msg.Reactions) == 0
|
recalculate := len(msg.Reactions) == 0
|
||||||
msg.AddReaction(key)
|
msg.AddReaction(key)
|
||||||
if recalculate {
|
if recalculate {
|
||||||
debug.Print(msg.ReactionHeight(), msg.Height())
|
|
||||||
// Recalculate height for message
|
// Recalculate height for message
|
||||||
msg.CalculateBuffer(msgView.prevPrefs, msgView.prevWidth())
|
msg.CalculateBuffer(msgView.prevPrefs, msgView.prevWidth())
|
||||||
msgView.replaceBuffer(msg, msg)
|
msgView.replaceBuffer(msg, msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user