wnox 0.4.0__py3-none-any.whl → 0.6.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
wnox/__init__.py CHANGED
@@ -50,7 +50,7 @@ class WSX(ClientXMPP, EventEmitter):
50
50
  EventEmitter.__init__(self)
51
51
  self.app = app
52
52
  self.uid = uid
53
- self.resource = resource
53
+ self._resource = resource
54
54
  self.password = password
55
55
  self.add_event_handler("session_start", self.start)
56
56
  self.add_event_handler("failed_auth", self.on_failed_auth)
@@ -89,7 +89,7 @@ class WSX(ClientXMPP, EventEmitter):
89
89
  itsbro = not itsme and f"{self.boundjid.bare.split('@')[0]}-" in from_jid
90
90
 
91
91
  if "conference.qepal.com" in from_jid:
92
- itsme = f"{self.app}-{self.uid}-{self.resource}" in from_jid
92
+ itsme = f"{self.app}-{self.uid}-{self._resource}" in from_jid
93
93
  itsbro = not itsme and f"{self.app}-{self.uid}-" in from_jid
94
94
 
95
95
  delayed = "urn:xmpp:delay" in str(stanza)
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: wnox
3
- Version: 0.4.0
4
- Summary: A short description of your package
3
+ Version: 0.6.0
4
+ Summary: QE nexus client.
5
5
  Home-page: https://github.com/arminkardan/pywnox
6
6
  Author: Ethan (Armin) Cardan
7
7
  Author-email: "Ethan (Armin) Cardan" <armin.fire@gmail.com>
@@ -0,0 +1,6 @@
1
+ wnox/__init__.py,sha256=_M92Wza8dl4QeQWdM0ckRtphgyfZs9g4DqwwvgSvOKI,8234
2
+ wnox-0.6.0.dist-info/LICENSE.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ wnox-0.6.0.dist-info/METADATA,sha256=3VPUC3E6hDdGOyBcxN0zYBd1qcbGEOldbTsCCk913MA,651
4
+ wnox-0.6.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
5
+ wnox-0.6.0.dist-info/top_level.txt,sha256=Xm9SC1bx_o6zjvo2FI-3QiZX2PZ_0UBQkGlvfYsnkwc,5
6
+ wnox-0.6.0.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- wnox/__init__.py,sha256=EbIomw-erlz_HOEAAfPrgxT53Zsx0zlzJ6-JoBD_lSQ,8232
2
- wnox-0.4.0.dist-info/LICENSE.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- wnox-0.4.0.dist-info/METADATA,sha256=EAjiZ0n8mjSe8xkZwmg7n44CawfXvoYRjCpBxU0Zg_0,670
4
- wnox-0.4.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
5
- wnox-0.4.0.dist-info/top_level.txt,sha256=Xm9SC1bx_o6zjvo2FI-3QiZX2PZ_0UBQkGlvfYsnkwc,5
6
- wnox-0.4.0.dist-info/RECORD,,
File without changes