Misc changes
This commit is contained in:
parent
b668c2cdc7
commit
099eebfa67
@ -39,8 +39,6 @@ func NewExpandedTextMessage(event *mautrix.Event, displayname string, text tstri
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var ZeroTime = time.Time{}
|
|
||||||
|
|
||||||
func NewDateChangeMessage(text string) UIMessage {
|
func NewDateChangeMessage(text string) UIMessage {
|
||||||
midnight := time.Now()
|
midnight := time.Now()
|
||||||
midnight = time.Date(midnight.Year(), midnight.Month(), midnight.Day(),
|
midnight = time.Date(midnight.Year(), midnight.Month(), midnight.Day(),
|
||||||
|
@ -386,6 +386,7 @@ func (view *MainView) NotifyMessage(room *rooms.Room, message ifc.Message, shoul
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO this should probably happen somewhere else
|
// TODO this should probably happen somewhere else
|
||||||
|
// (actually it's probably completely broken now)
|
||||||
message.SetIsHighlight(should.Highlight)
|
message.SetIsHighlight(should.Highlight)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user