[Telepathy-commits] [telepathy-gabble/master] gabble_tube_stream_constructor: muc stream tubes don't have to be open when requested
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Jan 19 05:35:11 PST 2009
---
src/tube-stream.c | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/src/tube-stream.c b/src/tube-stream.c
index 4cfc5b1..a2391c9 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -1087,16 +1087,7 @@ gabble_tube_stream_constructor (GType type,
if (priv->initiator == priv->self_handle)
{
/* We initiated this tube */
- if (priv->handle_type == TP_HANDLE_TYPE_CONTACT)
- {
- /* Private tube */
- priv->state = GABBLE_TUBE_CHANNEL_STATE_NOT_OFFERED;
- }
- else
- {
- /* Muc tube */
- priv->state = GABBLE_TUBE_CHANNEL_STATE_OPEN;
- }
+ priv->state = GABBLE_TUBE_CHANNEL_STATE_NOT_OFFERED;
}
else
{
--
1.5.6.5
More information about the Telepathy-commits
mailing list