Skip to content

Instantly share code, notes, and snippets.

@Casm82
Created February 29, 2016 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Casm82/31ad3e5d15f94a6bc0fd to your computer and use it in GitHub Desktop.
Save Casm82/31ad3e5d15f94a6bc0fd to your computer and use it in GitHub Desktop.
<options>
<accounts>
<account ns="{00000000-0000-0000-0000-000000000001}">
<auto-connect type="1">true</auto-connect>
<auto-reconnect/>
<ignore-autojoin type="1">true</ignore-autojoin>
<name type="10">%USERNAME%</name>
<streamJid type="10">%USERNAME%@jabber.local</streamJid>
<resource type="10">%COMPUTERNAME%</resource>
<connection ns="DefaultConnection">
<cert-verify-mode type="2">0</cert-verify-mode>
<host type="10">jabber.local</host>
</connection>
</account>
</accounts>
<common>
<statistics-enabled type="1">false</statistics-enabled>
</common>
<roster>
<show-resource type="1">true</show-resource>
<auto-subscribe type="1">true</auto-subscribe>
<sort-mode type="2">1</sort-mode>
<show-offline type="1">false</show-offline>
<merge-streams type="1">false</merge-streams>
<exchange>
<auto-approve-enabled type="1">false</auto-approve-enabled>
</exchange>
</roster>
<filestreams>
<default-dir type="10">%USERPROFILE%\Documents\Принятые файлы</default-dir>
<group-by-sender type="1">true</group-by-sender>
<filetransfer>
<autoreceive type="1">true</autoreceive>
</filetransfer>
</filestreams>
<datastreams>
<settings-profile ns="{00000000-0000-0000-0000-000000000001}">
<method ns="http://jabber.org/protocol/bytestreams">
<network-proxy type="10">{00000000-0000-0000-0000-000000000001}</network-proxy>
<enable-direct-connections type="1">false</enable-direct-connections>
<user-stream-proxy type="10">proxy.jabber.local</user-stream-proxy>
<use-user-stream-proxy type="1">false</use-user-stream-proxy>
<use-account-network-proxy type="1">false</use-account-network-proxy>
</method>
</settings-profile>
</datastreams>
</options>
@Lion34
Copy link

Lion34 commented Mar 1, 2016

Попробуй изменить ns у settings-profile на "{00000000-0000-0000-0000-000000000000}". Лучше всего настроить один клиент нужным образом через окно настроек, а затем скопировать только нужные измененные настройки из файла options.xml.

@Casm82
Copy link
Author

Casm82 commented Mar 1, 2016

Пробовал с всеми 0000 - datastream тоже с ошибкой записывается.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment