Hello community,

here is the log from the commit of package orion for openSUSE:Factory checked 
in at 2019-07-22 12:21:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/orion (Old)
 and      /work/SRC/openSUSE:Factory/.orion.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "orion"

Mon Jul 22 12:21:19 2019 rev:22 rq:717356 version:1.6.6+git~20190714

Changes:
--------
--- /work/SRC/openSUSE:Factory/orion/orion.changes      2019-06-01 
09:50:04.643312454 +0200
+++ /work/SRC/openSUSE:Factory/.orion.new.4126/orion.changes    2019-07-22 
12:21:20.667649347 +0200
@@ -1,0 +2,6 @@
+Sun Jul 14 14:51:11 UTC 2019 - pousadua...@gmail.com
+
+- Update to version 1.6.6+git~20190714:
+  * chat users list: add broadcaster and vips sections to predefined groups 
order; show any unrecognized groups added in the future after moderators. (#280)
+
+-------------------------------------------------------------------

Old:
----
  orion-1.6.6+git~20190328.tar.xz

New:
----
  orion-1.6.6+git~20190714.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ orion.spec ++++++
--- /var/tmp/diff_new_pack.eIqVVS/_old  2019-07-22 12:21:21.283649186 +0200
+++ /var/tmp/diff_new_pack.eIqVVS/_new  2019-07-22 12:21:21.287649185 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           orion
-Version:        1.6.6+git~20190328
+Version:        1.6.6+git~20190714
 Release:        0
 Summary:        Twitch stream client using Qt
 License:        GPL-3.0-only

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.eIqVVS/_old  2019-07-22 12:21:21.319649177 +0200
+++ /var/tmp/diff_new_pack.eIqVVS/_new  2019-07-22 12:21:21.319649177 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/alamminsalo/orion.git</param>
-              <param 
name="changesrevision">127664b751334a2338c61ee02069eecdecec1232</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">c2390ade0354af56c563266d4892a3e2f1d9eaee</param></service></servicedata>
\ No newline at end of file

++++++ orion-1.6.6+git~20190328.tar.xz -> orion-1.6.6+git~20190714.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orion-1.6.6+git~20190328/src/qml/irc/ViewerList.qml 
new/orion-1.6.6+git~20190714/src/qml/irc/ViewerList.qml
--- old/orion-1.6.6+git~20190328/src/qml/irc/ViewerList.qml     2019-03-28 
15:59:47.000000000 +0100
+++ new/orion-1.6.6+git~20190714/src/qml/irc/ViewerList.qml     2019-07-14 
15:01:01.000000000 +0200
@@ -45,7 +45,22 @@
             target: Viewers
             onChatterListLoaded: {
                 root.loading = false;
-                var groupOrder = ["staff", "global_mods", "admins", 
"moderators", "viewers"];
+                var standardGroupOrder = ["broadcaster", "staff", 
"global_mods", "admins", "moderators", "vips", "viewers"];
+                var extraGroupsPos = standardGroupOrder.indexOf("moderators") 
+ 1;
+
+                var extraGroups = [];
+
+                for (var otherGroupName in chatters) {
+                    if (standardGroupOrder.indexOf(otherGroupName) == -1) {
+                        extraGroups.push(otherGroupName)
+                    }
+                }
+                extraGroups.sort();
+
+                //var groupOrder = standardGroupOrder.slice();
+                //groupOrder.splice.apply([extraGroupsPos, 
0].concat(extraGroups));
+                var groupOrder = standardGroupOrder.slice(0, 
extraGroupsPos).concat(extraGroups, standardGroupOrder.slice(extraGroupsPos));
+
 
                 var viewers = []
                 for (var j = 0; j < groupOrder.length; j++) {


Reply via email to