From aa6a9b8fdeca294ea11b06b85fcd6d77f131e4b0 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 17 Aug 2017 22:50:03 +0200 Subject: gitRemoteSetOriginAction: Make response more descriptive Instead of just responding with the given URL, include a message in English to let users know that the value was saved. --- src/Plugin/GitRemoteSetOrigin.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Plugin/GitRemoteSetOrigin.hs') diff --git a/src/Plugin/GitRemoteSetOrigin.hs b/src/Plugin/GitRemoteSetOrigin.hs index c8a485e..208ab9f 100644 --- a/src/Plugin/GitRemoteSetOrigin.hs +++ b/src/Plugin/GitRemoteSetOrigin.hs @@ -49,4 +49,6 @@ gitRemoteSetOriginAction message = do params liftIO $ close dbConn - return $ Right $ T.pack url + return $ Right $ "I updated the channel's repo URL to '" + `T.append` T.pack url + `T.append` "'" -- cgit v1.2.3