diff options
author | Robin Jarry <robin@jarry.cc> | 2022-10-25 19:08:58 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-10-25 21:28:56 +0200 |
commit | a820e12d0f471e6768b0b198ed93fe5c244d2000 (patch) | |
tree | 027ea8c148273e67d9364e25764742eabd707f83 /worker | |
parent | 9d71da175ace4a0efae0449d8667ed4dba585e90 (diff) | |
download | aerc-a820e12d0f471e6768b0b198ed93fe5c244d2000.tar.gz |
types: remove unused FullMessage.Info field
This field is always nil. Either we should initialize it to a proper
value or remove it. Since it is unused, remove it.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'worker')
-rw-r--r-- | worker/types/messages.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go index 033450bb..26f29a24 100644 --- a/worker/types/messages.go +++ b/worker/types/messages.go @@ -229,7 +229,6 @@ type MessageInfo struct { type FullMessage struct { Message - Info *models.MessageInfo Content *models.FullMessage } |