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
msg.AddReaction(key)
if recalculate {
debug.Print(msg.ReactionHeight(), msg.Height())
// Recalculate height for message
msg.CalculateBuffer(msgView.prevPrefs, msgView.prevWidth())
msgView.replaceBuffer(msg, msg)