Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
notifications-bot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archives
notifications-bot
Merge requests
!22
Add continue to error case
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Add continue to error case
hotfix/hash-not-found
into
release
Overview
0
Commits
2
Pipelines
0
Changes
2
Merged
Add continue to error case
Jonah Husson
requested to merge
hotfix/hash-not-found
into
release
Jan 4, 2022
Overview
0
Commits
2
Pipelines
0
Changes
2
0
0
Merge request reports
Compare
release
version 1
bf360a33
Jan 4, 2022
release (base)
and
latest version
latest version
e8ed8229
2 commits,
Jan 4, 2022
version 1
bf360a33
1 commit,
Jan 4, 2022
2 files
+
3
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
notifications/notifications.go
+
1
−
0
View file @ e8ed8229
Edit in single-file editor
Open in Web IDE
Show full file
@@ -216,6 +216,7 @@ func notifyUser(ephID int64, data []*notifications.Data, apnsClient *apns.ApnsCo
u
,
err
:=
db
.
GetUserByHash
(
e
.
TransmissionRSAHash
)
if
err
!=
nil
{
jww
.
ERROR
.
Printf
(
"Failed to lookup user with tRSA hash %+v: %+v"
,
e
.
TransmissionRSAHash
,
err
)
continue
}
isAPNS
:=
!
strings
.
Contains
(
u
.
Token
,
":"
)
Loading