Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use opcode 'jabber' for mirrored messages.

  • Loading branch information...
commit 5eea9e4867e69fb6381f42021003b298c46d6a7f 1 parent 936251f
@nelhage authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 party-zephyr.py
View
4 party-zephyr.py
@@ -127,7 +127,7 @@ def run_zephyr():
note.auth = False
note.cls = jabber_chats[src]
note.instance = ''
- note.opcode = 'auto'
+ note.opcode = 'jabber'
note.send()
note = zephyr.receive(False)
@@ -136,7 +136,7 @@ def run_zephyr():
logging.debug("ZEPHYR: %s/%s[%s]: %s",
note.sender, note.cls, note.opcode,
body)
- if note.opcode.lower() not in ('auto', 'ping'):
+ if note.opcode.lower() not in ('jabber', 'ping'):
from_zephyr_q.put((note.cls, note.sender.split('@')[0],
body))
else:
Please sign in to comment.
Something went wrong with that request. Please try again.