[Nym3-commit] r356 - trunk/nymbaron/Client
jr at conuropsis.org
jr at conuropsis.org
Fri Oct 14 23:51:31 CEST 2005
Author: jr
Date: 2005-10-14 23:51:31 +0200 (Fri, 14 Oct 2005)
New Revision: 356
Modified:
trunk/nymbaron/Client/Main.py
Log:
- Add messages in processMessage to inform the user on the received messages
Modified: trunk/nymbaron/Client/Main.py
===================================================================
--- trunk/nymbaron/Client/Main.py 2005-10-14 21:22:43 UTC (rev 355)
+++ trunk/nymbaron/Client/Main.py 2005-10-14 21:51:31 UTC (rev 356)
@@ -285,7 +285,7 @@
account['quota'] = com.quota
account['used'] = com.used
#remove from the journal the acknowledged messages
- account.acknowledge(com.acks)
+ account.acknowledge(com.acks, verbose = True)
# TODO raise some warnings, exec some automatic actions and warn
# the user
elif (com.ct() == SToCCODE['Summary']):
@@ -307,11 +307,14 @@
except:
#there was a problem determining the XNymSeq: bug
#TODO is it the right play?
- raise Exception("unable to determine XNymSeq")
+ raise Exception("Unable to determine XNymSeq")
account.add_syn(secring, xnymseq, mid, index in bflist, syn)
index += 1
+ if index:
+ ui.display("Synopses received. Use list-syn to check them")
elif (com.ct() == SToCCODE['Msg']):
account.add_msg(com.mid, com.msg)
+ ui.display("Message %s received" % binascii.hexlify(com.mid))
elif (com.ct() == SToCCODE['Dropped']):
pass
elif (com.ct() == SToCCODE['Error']):
More information about the Nym3-commit
mailing list