login: add filename when sending QR image
This commit is contained in:
@@ -241,6 +241,7 @@ func sendQRCode(ce *WrappedCommandEvent, code string) id.EventID {
|
||||
content := event.MessageEventContent{
|
||||
MsgType: event.MsgImage,
|
||||
Body: code,
|
||||
FileName: "qr.png",
|
||||
URL: url.CUString(),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user