| ... | ... |
@@ -88,7 +88,7 @@ class Xmpp.Collections.ChatsCollection extends Backbone.Collection |
| 88 | 88 |
|
| 89 | 89 |
find: (who, withWhom) -> |
| 90 | 90 |
_.find(@models, (chat) -> |
| 91 |
- chat.get('who') == who && chat.get('withWhom') == withWhom
|
|
| 91 |
+ chat.get('who') == who and chat.get('withWhom') == withWhom and not chat.get('isMultiChat')
|
|
| 92 | 92 |
) |
| 93 | 93 |
|
| 94 | 94 |
findById: (id) -> |