Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
z-push
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Björn Fischer
z-push
Commits
1b7e5af5
Commit
1b7e5af5
authored
Jul 17, 2017
by
Manfred Kutas
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into AS14.1
parents
350ac224
ae197a3e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
kopano.php
src/backend/kopano/kopano.php
+1
-1
asdevice.php
src/lib/core/asdevice.php
+1
-1
No files found.
src/backend/kopano/kopano.php
View file @
1b7e5af5
...
...
@@ -444,7 +444,7 @@ class BackendKopano implements IBackend, ISearchProvider {
$senderEmail
=
array
();
// KOE: grep for the Sender header indicating we should send-as
// the 'X-Push-Sender-Name' header is not used
if
(
preg_match
(
"/^X-Push-Sender:\s(.*?)$/im"
,
$sm
->
mime
,
$senderEmail
))
{
if
(
preg_match
(
"/^X-Push-Sender:\s(.*?)$/im"
,
substr
(
$sm
->
mime
,
0
,
strpos
(
$sm
->
mime
,
"
\r\n\r\n
"
))
,
$senderEmail
))
{
$sendAsEmail
=
trim
(
$senderEmail
[
1
]);
ZLog
::
Write
(
LOGLEVEL_DEBUG
,
sprintf
(
"KopanoBackend->SendMail(): Send-As '%s' requested by KOE"
,
$sendAsEmail
));
...
...
src/lib/core/asdevice.php
View file @
1b7e5af5
...
...
@@ -188,7 +188,7 @@ class ASDevice extends StateObject {
unset
(
$this
->
forceSave
);
unset
(
$this
->
newdevice
);
unset
(
$this
->
ignoredMessageIds
);
unset
(
$this
->
backend2folderidCache
)
;
$this
->
backend2folderidCache
=
false
;
if
(
isset
(
$this
->
ignoredmessages
)
&&
is_array
(
$this
->
ignoredmessages
))
{
$imessages
=
$this
->
ignoredmessages
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment