fix(onebot): update peer_kind metadata from "private" to "direct"
This commit is contained in:
parent
6a4b829883
commit
bd9984bb5c
1 changed files with 1 additions and 1 deletions
|
|
@ -866,7 +866,7 @@ func (c *OneBotChannel) handleMessage(raw *oneBotRawEvent) {
|
|||
switch raw.MessageType {
|
||||
case "private":
|
||||
chatID = "private:" + senderID
|
||||
metadata["peer_kind"] = "private"
|
||||
metadata["peer_kind"] = "direct"
|
||||
metadata["peer_id"] = senderID
|
||||
|
||||
case "group":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue