Remove debug print

This commit is contained in:
Tulir Asokan 2020-03-03 21:59:34 +02:00
parent e8737cd480
commit e25674ca5f

View File

@ -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)