Shivaram Lingamneni 5 лет назад
Родитель
Сommit
0346c23ae0
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      irc/client.go
  2. 1
    1
      irc/responsebuffer.go

+ 1
- 1
irc/client.go Просмотреть файл

@@ -1120,7 +1120,7 @@ func (session *Session) sendFromClientInternal(blocking bool, serverTime time.Ti
1120 1120
 	}
1121 1121
 	// attach message-id
1122 1122
 	if msgid != "" && session.capabilities.Has(caps.MessageTags) {
1123
-		msg.SetTag("draft/msgid", msgid)
1123
+		msg.SetTag("msgid", msgid)
1124 1124
 	}
1125 1125
 	// attach server-time
1126 1126
 	if session.capabilities.Has(caps.ServerTime) {

+ 1
- 1
irc/responsebuffer.go Просмотреть файл

@@ -90,7 +90,7 @@ func (rb *ResponseBuffer) AddFromClient(time time.Time, msgid string, fromNickMa
90 90
 	}
91 91
 	// attach message-id
92 92
 	if len(msgid) > 0 && rb.session.capabilities.Has(caps.MessageTags) {
93
-		msg.SetTag("draft/msgid", msgid)
93
+		msg.SetTag("msgid", msgid)
94 94
 	}
95 95
 	// attach server-time
96 96
 	if rb.session.capabilities.Has(caps.ServerTime) && !msg.HasTag("time") {

Загрузка…
Отмена
Сохранить