|
@@ -25,8 +25,8 @@ const (
|
25
|
25
|
Nick
|
26
|
26
|
)
|
27
|
27
|
|
28
|
|
-// a Tagmsg that consists entirely of junk tags is not stored
|
29
|
|
-var junkTags = map[string]bool{
|
|
28
|
+// a Tagmsg that consists entirely of transient tags is not stored
|
|
29
|
+var transientTags = map[string]bool{
|
30
|
30
|
"+draft/typing": true,
|
31
|
31
|
"+typing": true, // future-proofing
|
32
|
32
|
}
|
|
@@ -60,7 +60,7 @@ func (item *Item) HasMsgid(msgid string) bool {
|
60
|
60
|
func (item *Item) isStorable() bool {
|
61
|
61
|
if item.Type == Tagmsg {
|
62
|
62
|
for name := range item.Tags {
|
63
|
|
- if !junkTags[name] {
|
|
63
|
+ if !transientTags[name] {
|
64
|
64
|
return true
|
65
|
65
|
}
|
66
|
66
|
}
|