🐛 Fix notifiable is empty when user do not set
This commit is contained in:
parent
7a2ce20460
commit
3f4fe68105
7
.idea/workspace.xml
generated
7
.idea/workspace.xml
generated
@ -4,9 +4,8 @@
|
|||||||
<option name="autoReloadType" value="ALL" />
|
<option name="autoReloadType" value="ALL" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":loud_sound: Verbose notifying logging">
|
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":loud_sound: Verbose notifying check logging">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/pkg/internal/services/notifications.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/services/notifications.go" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/pkg/internal/services/preferences.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/services/preferences.go" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/pkg/internal/services/preferences.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/services/preferences.go" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
@ -160,7 +159,6 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
||||||
<MESSAGE value=":recycle: Remove most of the dealer deps and move to nexus" />
|
|
||||||
<MESSAGE value=":recycle: Refactored more modules into nexus" />
|
<MESSAGE value=":recycle: Refactored more modules into nexus" />
|
||||||
<MESSAGE value=":recycle: All parts into nexus" />
|
<MESSAGE value=":recycle: All parts into nexus" />
|
||||||
<MESSAGE value=":truck: Move http server package" />
|
<MESSAGE value=":truck: Move http server package" />
|
||||||
@ -185,7 +183,8 @@
|
|||||||
<MESSAGE value=":bug: Fix get user info query statement bug" />
|
<MESSAGE value=":bug: Fix get user info query statement bug" />
|
||||||
<MESSAGE value=":boom: Remove deprecated subscription API" />
|
<MESSAGE value=":boom: Remove deprecated subscription API" />
|
||||||
<MESSAGE value=":loud_sound: Verbose notifying logging" />
|
<MESSAGE value=":loud_sound: Verbose notifying logging" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value=":loud_sound: Verbose notifying logging" />
|
<MESSAGE value=":loud_sound: Verbose notifying check logging" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value=":loud_sound: Verbose notifying check logging" />
|
||||||
<option name="GROUP_MULTIFILE_MERGE_BY_DIRECTORY" value="true" />
|
<option name="GROUP_MULTIFILE_MERGE_BY_DIRECTORY" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="VgoProject">
|
<component name="VgoProject">
|
||||||
|
@ -170,6 +170,8 @@ func CheckNotificationNotifiableBatch(accounts []models.Account, topic string) [
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiable[idx] = true
|
notifiable[idx] = true
|
||||||
|
} else {
|
||||||
|
notifiable[idx] = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user