From 05be01d23987058d2255c276acf2b87adcd6d00c Mon Sep 17 00:00:00 2001 From: scymtym Date: Fri, 12 Mar 2010 18:21:07 +0100 Subject: [PATCH] Ensure self user is present in after sync in obby backend * obby/rudel-obby-client.el (rudel-obby/obby_sync_final): switch to we-finalized when the self user is missing --- obby/rudel-obby-client.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/obby/rudel-obby-client.el b/obby/rudel-obby-client.el index b5d0b8c..71b7092 100644 --- a/obby/rudel-obby-client.el +++ b/obby/rudel-obby-client.el @@ -622,7 +622,10 @@ failure.")) (defmethod rudel-obby/obby_sync_final ((this rudel-obby-client-state-session-synching)) "Handle obby 'sync_final' message." - 'idle) + (with-slots (have-self) this + (if have-self + 'idle + 'we-finalized))) (defmethod object-print ((this rudel-obby-client-state-session-synching) &rest strings)