diff --git a/src/wormhole/blocking/transcribe.py b/src/wormhole/blocking/transcribe.py index 8d74012..4560350 100644 --- a/src/wormhole/blocking/transcribe.py +++ b/src/wormhole/blocking/transcribe.py @@ -44,6 +44,9 @@ class UsageError(Exception): # POST /CHANNEL-ID/SIDE/deallocate -> waiting | deleted class Wormhole: + motd_displayed = False + version_warning_displayed = False + def __init__(self, appid, relay): self.appid = appid self.relay = relay @@ -62,9 +65,6 @@ class Wormhole: url += "/" + msgnum return url - motd_displayed = False - version_warning_displayed = False - def handle_welcome(self, welcome): if ("motd" in welcome and not self.motd_displayed):