Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit e981100

Browse files
committed
Fix nil conf panic
1 parent 9e17a66 commit e981100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/notifier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ func (m *notificationManager) getNotifiers() []notifier {
7373
if err != nil {
7474
return nil
7575
}
76-
conf.OpenBazaarName = profile.Name
7776

7877
if conf != nil && conf.Notifications {
78+
conf.OpenBazaarName = profile.Name
7979
notifiers = append(notifiers, &smtpNotifier{settings: conf})
8080
}
8181
return notifiers

0 commit comments

Comments
 (0)