This website works better with JavaScript.
Home
Help
Sign In
narayana
/
telegabber
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
12
Wiki
Activity
Browse Source
Fix a crash on commands to unauthorized transport
master
Bohdan Horbeshko
3 months ago
parent
326b436fc2
commit
68e3581724
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
xmpp/handlers.go
+ 1
- 1
xmpp/handlers.go
View File
@ -93,8 +93,8 @@ func HandleMessage(s xmpp.Sender, p stanza.Packet) {
gateway
.
SendPresence
(
component
,
msg
.
From
,
gateway
.
SPType
(
"subscribed"
)
)
}
else
{
log
.
Error
(
"Message from stranger"
)
return
}
return
}
toID
,
ok
:=
toToID
(
msg
.
To
)
Write
Preview
Loading…
Cancel
Save