Projects
Kolab:Winterfell
guam
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 21
View file
guam.spec
Changed
@@ -43,6 +43,7 @@ Patch0010: 0006-correct-response-for-mplicit_tls-listeners.patch Patch0011: 0007-do-a-full-OK-CAPABILITY-banner-for-all-correct_hello.patch Patch0012: 0008-remove-AUTH-entries-put-LOGINDISABLED-if-we-put-up-a.patch +Patch0013: 0009-don-t-modify-the-acive-state-if-we-don-t-have-a-LIST.patch BuildRequires: erlang >= 17.4 BuildRequires: erlang-eimap >= 0.1.5 @@ -101,6 +102,7 @@ %patch0010 -p1 %patch0011 -p1 %patch0012 -p1 +%patch0013 -p1 %build rebar compile
View file
0009-don-t-modify-the-acive-state-if-we-don-t-have-a-LIST.patch
Added
@@ -0,0 +1,32 @@ +From 2cb99c736820d9f5e30b975ca3956def88a471f6 Mon Sep 17 00:00:00 2001 +From: Aaron Seigo <aseigo@kde.org> +Date: Fri, 1 Jul 2016 17:24:33 +0200 +Subject: [PATCH 9/9] don't modify the acive state if we don't have a LIST + command + +--- + apps/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/apps/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl b/apps/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl +index a383ad9..eec374c 100644 +--- a/apps/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl ++++ b/apps/kolab_guam/src/rules/kolab_guam_rule_filter_groupware.erl +@@ -31,12 +31,12 @@ applies(_ConnectionDetails, Buffer, State) -> + + apply_to_client_message(ImapSession, Buffer, State) -> + { Tag, Command, Data } = eimap_utils:split_command_into_components(Buffer), +- { Active, StateTag }= ++ { Active, StateTag } = + case lists:any(fun(T) -> (Command =:= T) andalso + ((binary:match(Data, <<"*">>) =/= nomatch) orelse (binary:match(Data, <<"%">>) =/= nomatch)) end, + State#state.trigger_commands) of + true -> fetch_metadata(ImapSession, State), { true, Tag }; +- _ -> { false, <<>> } ++ _ -> { State#state.active, <<>> } + end, + %lager:info("Client sent: ~s ~s ~p", [Command, Data, Active]), + { Buffer, State#state{ active = Active, tag = StateTag }}. +-- +2.5.5 +
View file
debian.series
Changed
@@ -1,1 +1,2 @@ guam-0.8-debian-concat.patch -p1 +0009-don-t-modify-the-acive-state-if-we-don-t-have-a-LIST.patch -p1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.