| author | Nikita Kozlov <nikita@mbdsys.com> |
| Fri, 07 May 2010 17:03:14 +0200 | |
| changeset 731 | 3594d91779da |
| parent 694 | cffbce08906d |
| child 797 | fbd3585af53e |
| permissions | -rw-r--r-- |
|
694
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
1 |
--- ../../../src/smack/org/jivesoftware/smack/ChatManager.java 2010-02-23 19:27:26.000000000 +0100 |
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
2 |
+++ org/jivesoftware/smack/ChatManager.java 2010-02-23 19:37:47.000000000 +0100 |
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
3 |
@@ -111,7 +111,9 @@ |
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
4 |
chat = getUserChat(message.getFrom()); |
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
5 |
} |
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
6 |
} |
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
7 |
- |
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
8 |
+ if (chat == null) {
|
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
9 |
+ chat = getUserChat(StringUtils.parseBareAddress(message.getFrom())); |
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
10 |
+ } |
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
11 |
if(chat == null) {
|
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
12 |
chat = createChat(message); |
|
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset
|
13 |
} |