aboutsummaryrefslogtreecommitdiff
path: root/process.go
diff options
context:
space:
mode:
Diffstat (limited to 'process.go')
-rw-r--r--process.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/process.go b/process.go
index b576143..806dacd 100644
--- a/process.go
+++ b/process.go
@@ -438,13 +438,13 @@ func (cc *ClientConn) process(pkt mt.Pkt) {
return
}
- if handleInteraction(cmd, cc) { // if return true: already handled
- return
- }
-
if _, ok := cmd.Pointed.(*mt.PointedAO); ok {
srv.swapAOID(&cmd.Pointed.(*mt.PointedAO).ID)
}
+
+ if handleInteraction(cmd, cc) { // if return true: already handled
+ return
+ }
case *mt.ToSrvChatMsg:
done := make(chan struct{})
@@ -741,7 +741,7 @@ func (sc *ServerConn) process(pkt mt.Pkt) {
return
case *mt.ToCltMediaPush:
prepend(sc.mediaPool, &cmd.Filename)
-
+
var exit bool
for _, f := range clt.media {
if f.name == cmd.Filename {