summaryrefslogtreecommitdiff
path: root/dscuss.go
diff options
context:
space:
mode:
authorVitaly Minko <vitaly.minko@gmail.com>2019-06-09 15:35:32 +0300
committerVitaly Minko <vitaly.minko@gmail.com>2019-06-09 15:35:32 +0300
commiteee321e1e760129e23b7a5a7a5b7db6e09033770 (patch)
tree5cbff600658d37161e5cbb6d778c53365c448ac1 /dscuss.go
parenta36fc89449e0284428f18eade1bc0efd9411ea3b (diff)
Implemented owner's profile page.
Diffstat (limited to 'dscuss.go')
-rw-r--r--dscuss.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dscuss.go b/dscuss.go
index 2706f1b..d8adf8f 100644
--- a/dscuss.go
+++ b/dscuss.go
@@ -315,8 +315,8 @@ func (lh *LoginHandle) Unsubscribe(topic subs.Topic) error {
return lh.owner.Profile.RemoveSubscription(topic)
}
-func (lh *LoginHandle) ListSubscriptions() string {
- return lh.owner.Profile.GetSubscriptions().String()
+func (lh *LoginHandle) ListSubscriptions() subs.Subscriptions {
+ return lh.owner.Profile.GetSubscriptions()
}
func (lh *LoginHandle) MakeModerator(id *entity.ID) error {