about summary refs log tree commit diff
path: root/BugMine.Sdk/Events
diff options
context:
space:
mode:
Diffstat (limited to 'BugMine.Sdk/Events')
-rw-r--r--BugMine.Sdk/Events/State/BugMineRoomMetadata.cs2
-rw-r--r--BugMine.Sdk/Events/State/ProjectInfo.cs2
-rw-r--r--BugMine.Sdk/Events/Timeline/BugMineIssueComment.cs4
-rw-r--r--BugMine.Sdk/Events/Timeline/BugMineIssueData.cs6
4 files changed, 8 insertions, 6 deletions
diff --git a/BugMine.Sdk/Events/State/BugMineRoomMetadata.cs b/BugMine.Sdk/Events/State/BugMineRoomMetadata.cs
index 734fd37..5fafa5a 100644
--- a/BugMine.Sdk/Events/State/BugMineRoomMetadata.cs
+++ b/BugMine.Sdk/Events/State/BugMineRoomMetadata.cs
@@ -1,6 +1,6 @@
 using LibMatrix.EventTypes;
 
-namespace BugMine.Web.Classes;
+namespace BugMine.Sdk.Events.State;
 
 [MatrixEvent(EventName = EventId)]
 public class BugMineRoomMetadata : EventContent {
diff --git a/BugMine.Sdk/Events/State/ProjectInfo.cs b/BugMine.Sdk/Events/State/ProjectInfo.cs
index 2d15bff..b1ec2d9 100644
--- a/BugMine.Sdk/Events/State/ProjectInfo.cs
+++ b/BugMine.Sdk/Events/State/ProjectInfo.cs
@@ -1,6 +1,6 @@
 using LibMatrix.EventTypes;
 
-namespace BugMine.Web.Classes;
+namespace BugMine.Sdk.Events.State;
 
 [MatrixEvent(EventName = EventId)]
 public class ProjectInfo : EventContent {
diff --git a/BugMine.Sdk/Events/Timeline/BugMineIssueComment.cs b/BugMine.Sdk/Events/Timeline/BugMineIssueComment.cs
index 50c73a1..782439a 100644
--- a/BugMine.Sdk/Events/Timeline/BugMineIssueComment.cs
+++ b/BugMine.Sdk/Events/Timeline/BugMineIssueComment.cs
@@ -1,10 +1,10 @@
 using LibMatrix.EventTypes;
 
-namespace BugMine.Web.Classes;
+namespace BugMine.Sdk.Events.Timeline;
 
 [MatrixEvent(EventName = EventId)]
 public class BugMineIssueComment : TimelineEventContent {
-    public const string EventId = "gay.rory.bugmine.comment";
+    public const string EventId = "gay.rory.bugmine.issue.comment";
     public string Comment { get; set; }
     public string Author { get; set; }
     public DateTime Timestamp { get; set; }
diff --git a/BugMine.Sdk/Events/Timeline/BugMineIssueData.cs b/BugMine.Sdk/Events/Timeline/BugMineIssueData.cs
index 480102a..859add3 100644
--- a/BugMine.Sdk/Events/Timeline/BugMineIssueData.cs
+++ b/BugMine.Sdk/Events/Timeline/BugMineIssueData.cs
@@ -1,8 +1,10 @@
+using BugMine.Sdk.Events.State;
+using BugMine.Web.Classes;
 using LibMatrix.EventTypes;
 
-namespace BugMine.Web.Classes;
+namespace BugMine.Sdk.Events.Timeline;
 
-[MatrixEvent(EventName = ProjectInfo.EventId)]
+[MatrixEvent(EventName = EventId)]
 public class BugMineIssueData : TimelineEventContent {
     public const string EventId = "gay.rory.bugmine.issue";
     public string Name { get; set; }