mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-25 03:57:13 +08:00
Prevent sending emails and notifications to inactive users (#2384)
* Filter inactive users before sending emails or creating browser notifications Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * fix formatting issues Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * included requested changes Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * optimized database queries * rebasing new master and add tablenames for clarification in xorm queries * remove escaped quotationmarks using backticks Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
This commit is contained in:
committed by
Lunny Xiao
parent
b496e3e1cc
commit
d766d0c4e0
@ -9,7 +9,7 @@
|
||||
num_pulls: 2
|
||||
num_closed_pulls: 0
|
||||
num_milestones: 2
|
||||
num_watches: 2
|
||||
num_watches: 3
|
||||
|
||||
-
|
||||
id: 2
|
||||
|
||||
@ -7,3 +7,8 @@
|
||||
id: 2
|
||||
user_id: 4
|
||||
repo_id: 1
|
||||
|
||||
-
|
||||
id: 3
|
||||
user_id: 10
|
||||
repo_id: 1
|
||||
|
||||
Reference in New Issue
Block a user