<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/101319/">http://git.reviewboard.kde.org/r/101319/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<p style="margin-top: 0;">On May 12th, 2011, 12:41 p.m., <b>Daniele Elmo Domenichelli</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">IIRC the resource parameter should be handled together with the priority parameter (that is missing as well) like kopete does. (Also kopete has an useful feature "when absent, adjust priority to", but I believe that it is not a xmpp feature, but something implemented by kopete checking the user's activity.)
Messages are sent by the xmpp server to the resource with the higher priority and I also believe that's the only use for the resource parameter. (I just found [1], so I may be right)
Therefore I'm not sure if it makes sense to allow to set just the resource parameter alone.
[1]http://wiki.xmpp.org/web/Jabber_Resources</pre>
</blockquote>
</blockquote>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I've never heard of the priority and what I have seen in practice is that when I am logged in from several clients on xmpp, messages appear in all of them (for example on the desktop and the N900). However, I've also seen two different setups of telepathy not being able to connect to the same xmpp account because they had both their resource unset, in which case I had to start empathy in one of them and set the resource from there before I could continue. So, I think that having a lineedit to change the resource name is required, even if it may not be the best solution.
PS: The N900 also has a Resource lineedit in the advanced options (by default set to "Maemo") and it has no priority adjustment option.
PS 2: Ship it!</pre>
<br />
<p>- George</p>
<br />
<p>On May 9th, 2011, 3:28 p.m., David Edmundson wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for Telepathy.</div>
<div>By David Edmundson.</div>
<p style="color: grey;"><i>Updated May 9, 2011, 3:28 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Add a lineedit to change the "Resource" on gabble accounts.</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>gabble/server-settings-widget.cpp <span style="color: grey">(7bb9ee06faa76c78e976b47172443125569acb8e)</span></li>
<li>gabble/server-settings-widget.ui <span style="color: grey">(711355301f18f32a0f185cfd63cea8670292242d)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/101319/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>