aboutsummaryrefslogtreecommitdiff
path: root/ui/messages
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-04-10 02:28:24 +0300
committerTulir Asokan <tulir@maunium.net>2019-04-10 02:28:24 +0300
commit099eebfa67fd91646bd57f0876d5e2a77c2c379d (patch)
tree57ff3eae665649f9bc0c78beaa1a01cd1c33544c /ui/messages
parentb668c2cdc7b48f7ec98eb17e7a246f158e7d501a (diff)
Misc changes
Diffstat (limited to 'ui/messages')
-rw-r--r--ui/messages/expandedtextmessage.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/messages/expandedtextmessage.go b/ui/messages/expandedtextmessage.go
index 5e07901..6ed96fc 100644
--- a/ui/messages/expandedtextmessage.go
+++ b/ui/messages/expandedtextmessage.go
@@ -39,8 +39,6 @@ func NewExpandedTextMessage(event *mautrix.Event, displayname string, text tstri
}
}
-var ZeroTime = time.Time{}
-
func NewDateChangeMessage(text string) UIMessage {
midnight := time.Now()
midnight = time.Date(midnight.Year(), midnight.Month(), midnight.Day(),