diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-11-24 20:16:07 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-11-24 20:16:07 +0300 |
commit | d554827ebc6ae5a81f9f24e5e446606f3e0e916a (patch) | |
tree | 857b5e07116aaba77a676ec9fa491fe84b24b23c /test | |
parent | Don't forget to erase cache on user removal (diff) |
Don't check for faked carbons
Diffstat (limited to 'test')
-rw-r--r-- | test/carbons_tests.erl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/carbons_tests.erl b/test/carbons_tests.erl index 2780dab66..00dd57e3c 100644 --- a/test/carbons_tests.erl +++ b/test/carbons_tests.erl @@ -145,10 +145,6 @@ recv_carbons(Config) -> ok; ({_, #message{sub_els = [#carbons_private{}]}}) -> ok; - ({_, #message{sub_els = [#carbons_sent{}]}}) -> - ok; - ({_, #message{sub_els = [#carbons_received{}]}}) -> - ok; ({_, #message{type = T}}) when T /= normal, T /= chat -> ok; ({Dir, #message{type = T, body = Body} = M}) @@ -197,6 +193,4 @@ message_iterator(_Config) -> Body <- [[], xmpp:mk_text(<<"body">>)], Els <- [[], [#hint{type = 'no-copy'}], - [#carbons_private{}], - [#carbons_sent{forwarded = #forwarded{}}], - [#carbons_received{forwarded = #forwarded{}}]]]. + [#carbons_private{}]]]. |