Changeset 650 for trunk/sx/compress.c

Show
Ignore:
Timestamp:
08/08/08 23:08:07 (5 months ago)
Author:
smoku
Message:

Fixed XEP-0138 compression feature offer

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/sx/compress.c

    r545 r650  
    126126    _sx_debug(ZONE, "offering compression"); 
    127127 
    128     ns = nad_add_namespace(nad, uri_COMPRESS, NULL); 
     128    ns = nad_add_namespace(nad, uri_COMPRESS_FEATURE, NULL); 
    129129    nad_append_elem(nad, ns, "compression", 1); 
    130130    nad_append_elem(nad, ns, "method", 2);