Changeset 80:80ed2848c4e0 in ralphm-patches for c2s_server_factory.patch


Ignore:
Timestamp:
Jun 28, 2016, 3:58:23 PM (4 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Don't depend on the incoming element being stripped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c2s_server_factory.patch

    r79 r80  
    11# HG changeset patch
    22# Parent 49294b2cf829414b42141731b5130d91474c0443
    3 # Parent  97fdb86984fc983e78234f8c3d746da061b21f1b
     3# Parent  0a68c01ed5b5f429eed343df521bc706fe88afd1
    44Add factory for accepting client connections.
    55
     
    5353+        Make sure each stanza has a sender address.
    5454+        """
    55 +        if element.uri:
     55+        if element.uri != self.xmlstream.namespace:
    5656+            return
    5757+
Note: See TracChangeset for help on using the changeset viewer.